package system.model.dto;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.HashMap;
import java.util.List;

/**
 * 权限
 */
@Data
public class AuthorityDto {

	private Long id;
	private Long parentId;
	private String name;
	private String title;
	private String component;
	private String redirect;
	private Boolean hidden;
	private Boolean noCache;
	private Boolean alwaysShow;
	private Boolean breadcrumb;
	private String path;
	private String icon;
	private Integer sort;
	private HashMap<String, Object> meta = new HashMap<>();
	private List<AuthorityDto> children = Lists.newArrayList();

}
